﻿using System.Web;
using System.Web.Optimization;

namespace LanHomepage
{
    public class BundleConfig
    {
        // For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725
        public static void RegisterBundles(BundleCollection bundles)
        {
            //bundle scripts here
            bundles.Add(new ScriptBundle("~/bundles/scripts").Include(
                        "~/Scripts/jquery-{version}.js",
                        "~/Scripts/jquery-ui-{version}.js",
                        "~/Scripts/jquery.unobtrusive*",
                        "~/Scripts/jquery.validate*",
                        "~/Scripts/jquery.center*",
                        "~/Scripts/jquery.msg*",
                        "~/Scripts/lanHomepage*"));

            //bundle css here
            bundles.Add(new StyleBundle("~/Content/css").Include(
                        "~/Content/jquery.msg.css",
                        "~/Content/Views.css",
                        "~/Content/Theme.css",
                        "~/Content/SharedLayout.css"));
        }
    }
}